package com.ruoyi.yipaiju.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 邀请对象 fo_user_invites
 * 
 * @author liuwp
 * @date 2023-04-27
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserInvites extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 邀请人的id */
    @Excel(name = "邀请人的id")
    private Long invitesId;

    /** 被邀请的id */
    @Excel(name = "被邀请的id")
    private Long userId;

    /** 资产id */
    @Excel(name = "资产id")
    private Long assetsId;

    /** 关系类型 */
    @Excel(name = "关系类型")
    private Integer invitesType;

    // 废弃
    private Integer depth;

    /** ext1 */
    @Excel(name = "ext1")
    private String ext1;

    /** ext2 */
    @Excel(name = "ext2")
    private String ext2;

    /** ext3 */
    @Excel(name = "ext3")
    private String ext3;

    private List<Long> invitesIds;

    private String phone;

    /** 昵称 */
    private String nickname;

    /** 头像 */
    private String avatarUrl;

    private Integer count;

    private String inviUser;

    public String getInviUser() {
        return inviUser;
    }

    public void setInviUser(String inviUser) {
        this.inviUser = inviUser;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public List<Long> getInvitesIds() {
        return invitesIds;
    }

    public void setInvitesIds(List<Long> invitesIds) {
        this.invitesIds = invitesIds;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInvitesId(Long invitesId) 
    {
        this.invitesId = invitesId;
    }

    public Long getInvitesId() 
    {
        return invitesId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAssetsId(Long assetsId) 
    {
        this.assetsId = assetsId;
    }

    public Long getAssetsId() 
    {
        return assetsId;
    }
    public void setInvitesType(Integer invitesType) 
    {
        this.invitesType = invitesType;
    }

    public Integer getInvitesType() 
    {
        return invitesType;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("invitesId", getInvitesId())
            .append("userId", getUserId())
            .append("assetsId", getAssetsId())
            .append("invitesType", getInvitesType())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .toString();
    }
}
